#include #include using namespace std; void powiedz( const char * tekst, int czas ) { cout << tekst << endl; int t = clock(); t += czas; while( clock() < t ){} } bool czy_calkowite( float x ) { int y = x; if( x == y ) return true; return false; } int main() { float a, b; cout << "Podaj pierwza liczbe." << endl; cin >> a; cout << "Podaj druga liczbe." << endl; cin >> b; int c = a, d = b; if( czy_calkowite( a ) && czy_calkowite( b ) && c % 2 == 1 && d % 2 == 1 ) { cout << "Suma to " << a + b; powiedz( ".", 2000 ); } return 0; }